<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>商品管理-商品类型-类型属性</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
  </head>
  <body style="margin:0 auto;padding:0">   
  	<form id="goodsTypeAttrForm" method="post">
		<table style="width:100%;font-size:12px;padding-top:14px;" align="center" cellpadding="3">
			<tr>
				<td align="right" width="81">属性名称：</td>
				<td>    
                     <input name="btaName" class="mini-textbox" required="true" width="220"/>
                 </td>
			</tr>
			<tr>
				<td align="right">所属类型：</td>
				<td>    
                     <input class="mini-combobox" id="btaGtype" name="btaGtype" required="true" 
		    			textField="bgtName" valueField="bgtId" width="220" 
		    			url="<%=path %>/findGoodsTypeJson.do?type=addOrUpdate" />
                 </td>
			</tr>
			<tr>
				<td align="right">属性类型：</td>
				<td>    
                     <div class="mini-radiobuttonlist" id="btaAtype" name="btaAtype" repeatItems="3" 
                     	repeatLayout="table" repeatDirection="horizontal" 
                     	 textField="text" valueField="id">
					 </div>
                 </td>
			</tr>
			<tr>
				<td align="right">录入方式：</td>
				<td>    
                     <div class="mini-radiobuttonlist" id="btaMode" name="btaMode" repeatItems="3" 
                     	repeatLayout="table" repeatDirection="horizontal" textField="text"
                     	 valueField="id" onvaluechanged="GoodsTypeAttrFormHandler.onBtaModeValChanged">
					 </div>
                 </td>
			</tr>
			<tr>
				<td align="right">可选值表：</td>
				<td>    
                     <input id="btaValue" name="btaValue" class="mini-textarea" width="220" height="60"/>
                 </td>
			</tr>
			<tr>
				<td align="right">属性排序：</td>
				<td>    
                     <input name="btaOrder" class="mini-textbox" required="true" width="220"/>
                 </td>
			</tr>
			<tr>
				<td align="right">属性状态：</td>
				<td>    
                     <div id="btaState" name="btaState" class="mini-radiobuttonlist" 
		    		 	repeatItems="2" repeatLayout="table" repeatDirection="horizontal"  
		    		 	textField="text" valueField="value">
					</div> 
                 </td>
			</tr>
			<tr>
				<td colspan="2" align="center" style="height:50px;">
					<input class="mini-button" text="保存" iconCls="icon-save" plain="false" 
      					onclick="GoodsTypeAttrFormHandler.save"/>&nbsp;&nbsp;
      				<input class="mini-button" text="关闭" iconCls="icon-cancel" plain="false" 
      					onclick="GoodsTypeAttrFormHandler.closeMiniWin"/>
				</td>
			</tr>
		</table>
  	</form>
  </body>
  <script src="handler/GoodsTypeAttrFormHandler.js" type="text/javascript"></script>
</html>
























